url = "/account/shipping-address.html"
title="customer-shipping-address"
description = "配送地址"
layout = 'default'
==
{% set orders = catalog.orders %}
{% set Addresses = catalog.getAddresses %}
<link href="{{ 'assets/css/cashier.css'|theme }}" rel="stylesheet" type="text/css" />
<!-- contents -->
<div id="contents">
	<nav class="crumbs_nav">
		<ul class="crumbs_list rdstr">
			<li class="crumbs_item">
				<a class="crumbs_link" href="/">
					<span>{{ 'Home'|_ }}</span>
				</a>
			</li>
			<li class="crumbs_item">
				<a class="crumbs_link" href="{{ 'account/dashboard'|page }}">
					<span>{{ 'My account'|_ }}</span>
				</a>
			</li>
			<li class="crumbs_item no_deco">
				<span class="crumbs_link">{{ 'shipping-address'|_ }}</span>
			</li>
		</ul>
	</nav>
	<h3 class="title_main">{{ 'shipping-address'|_ }}</h3>
	<section class="mb20">
		<div class="tab_liquid">
			<ul class="box_list">
				<li>
					<a class="tab_liquid_list_inner" href="{{ 'account/billing-address'|page }}">{{ 'Billing address'|_ }}</a>
				</li>
				<li class="selected">
					<span class="tab_liquid_list_inner">{{ 'Shipping address'|_ }}</span>
				</li>
			</ul>
		</div>
		<section>
			{{ form_open({ 'request': 'onUpdateShippingAddress' }) }}
				<ul class="_addInput">
					<li class="cashier_section_line _addInput_unit _editMode _on">
						<div class="cashierSelectContents_txt">
							<div class="commonRadioWrap">
								<input id="t_viewChange" type="radio" name="" value="" checked>
								<label for="t_viewChange">
									<div class="box_list">
										<div class="radio_common_icon"></div>
										<div class="box_list_main">
											<div class="radio_common_txt">
												<div class="cashierSelectContents_txt_main">{{ 'New address'|_ }}</div>
											</div>
										</div>
									</div>
								</label>
							</div>
						</div>
						<div class="cashierSelectContents_innerContents _addInput_item">
<!-- 							<div class="cashierSelectContents_1stLevel cashier_section_line">
								<dl>
									<dt class="cashierSelectContents_title fwb">氏名(漢字)</dt>
									<dd class="clearfix">
										<input class="commonInput_inputText w130 fl" type="text" name="" value="" size="8" maxlength="20" placeholder="鈴木">
										<input class="commonInput_inputText w130 fr" type="text" name="" value="" size="8" maxlength="20" placeholder="花子"></dd>
								</dl>
							</div> -->
							<div class="cashierSelectContents_1stLevel cashier_section_line">
								<dl>
									<dt class="cashierSelectContents_title fwb">
                    <div class="box_list">
                        <div class="cashierSelectContents_paymentSelect box_list_main">
                            {{ 'First name'|_ }}<span class="force_color">*</span>
                        </div>
                        <div class="mh10"></div>
                        <div class="cashierSelectContents_paymentSelect box_list_main">
                            {{ 'Last name'|_ }}<span class="force_color">*</span>
                        </div>
                    </div>
                  </dt>
									<dd class="clearfix">
										<input style="width: 47%;" class="commonInput_inputText fl" type="text" name="firstname" value="{{ user.name ? user.name : old('firstname') }}" size="8" maxlength="20">
										<input style="width: 47%;" class="commonInput_inputText fr" type="text" name="lastname" value="{{ user.surname ? user.surname : old('lastname') }}" size="8" maxlength="20"></dd>
								</dl>
							</div>
							<div class="cashierSelectContents_1stLevel cashier_section_line">
								<dl>
									<dt class="cashierSelectContents_title fwb">
										{{ 'Phone number'|_ }}
										<br>
									</dt>
									<dd>
										<input class="commonInput_inputText" type="tel" name="phonenumber" value="{{ user.phone ? user.phone : old('phonenumber') }}" size="11" maxlength="11" ></dd>
								</dl>
							</div>
							<div class="cashierSelectContents_1stLevel cashier_section_line _postalCode">
								<dl>
									<dt class="cashierSelectContents_title fwb">{{ 'Postcode'|_ }}</dt>
									<dd class="clearfix">
										<input class="commonInput_inputText" type="tel" name="postcode" value="{{ user.zip ? user.zip : old('postcode') }}" maxlength="7" ></dd>
								</dl>
							</div>
							<div class="cashierSelectContents_2ndLevel cashier_section_line">
								<dl>
									<dt class="cashierSelectContents_title fwb">
                    <div class="box_list">
                        <div class="cashierSelectContents_paymentSelect box_list_main">
                            {{ 'Country'|_ }}<span class="force_color">*</span>
                        </div>
                        <div class="mh10"></div>
                        <div class="cashierSelectContents_paymentSelect box_list_main">
                            {{ 'State/Province'|_ }}<span class="force_color">*</span>
                        </div>
                    </div>
                  </dt>
									<dd>
										<div class="search_result_form_list_form">
											<div class="box_list">
												<div class="cashierSelectContents_paymentSelect box_list_main">
													<!-- <select class="commonSelect" name="">
														<option value="0" selected="">日本</option>
													</select> -->
                                                     {{ form_select_country('country_id',
                                                     user.country_id ? user.country_id : 122, {
                                                     id: 'accountCountry',
                                                     class: 'commonSelect',
                                                     emptyOption: '',
                                                     'required': '',
                                                     'data-request': 'onPullStateList',
                                                     'data-request-success': 'afterChangeCountry($el, data)',
                                                     'placeholder': ''
                                                     })
                                                     }}
												</div>
												<div class="mh10"></div>
												<div class="cashierSelectContents_paymentSelect box_list_main">
													<!-- <select class="commonSelect" name="">
														<option value="0" selected="">東京都</option>
													</select> -->
                                                    {{ form_select_state('state_id',
                                                    user.country_id ? user.country_id : 122,
                                                    user.state_id ? user.state_id : 285, {
                                                    id: 'state_id',
                                                    class: 'commonSelect',
                                                    'required': '',
                                                    emptyOption: ''
                                                    }) }}
												</div>
											</div>
										</div>
									</dd>
								</dl>
							</div>
							<div class="cashierSelectContents_2ndLevel cashier_section_line">
								<dl>
									<dt class="cashierSelectContents_title fwb">
										{{ 'Street'|_ }}
										<br>
										<span class="fnt_xsmall fwn">{{ 'Street number'|_ }}</span>
									</dt>
									<dd>
										<input class="commonInput_inputText" type="text" name="city" value="{{ user.city ? user.city : old('city') }}" maxlength="40" ></dd>
								</dl>
							</div>
							<div class="cashierSelectContents_2ndLevel cashier_section_line">
								<dl>
									<dt class="cashierSelectContents_title fwb">{{ 'Building'|_ }}</dt>
									<dd>
										<input class="commonInput_inputText" type="text" name="address" value="{{ user.street_addr ? user.street_addr : old('address') }}" maxlength="40" ></dd>
								</dl>
							</div>
						</div>
					</li>
				</ul>
				<div class="cashierEditSumit cashier_section_line">
					<a class="_submit button_decide cartButton" href="#cashierEdit">
						<span class="button_txt">{{ 'Checkout '|_ }}</span>
					</a>
					<input class="_submitHide" type="submit" name="" value=""></div>
			 {{ form_close() }}
			<!-- <section>
			<div>
				<p class="lh140 txt_ss force_color tac mb5">登録されているブランドはありません。</p>
				<p class="lh140 txt_ss tac mb15">
					よくチェックするブランドを、
					<br>お気に入りとして登録できます。</p>
				<a class="button_common mh10 mb10 block_center" href="brand-alllist.html">
					<span class=" button_txt">WOMENブランド一覧へ</span>
				</a>
				<a class="button_common mh10 mb10 block_center" href="brand-alllist.html">
					<span class=" button_txt">MENブランド一覧へ</span>
				</a>
				<a class="button_common mh10 mb10 block_center" href="brand-alllist.html">
					<span class=" button_txt">KIDSブランド一覧へ</span>
				</a>
			</div>
		</section>
		-->
	</section>
</section>
</div>
<!-- end contents -->